package com.qiangesoft.blog;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * springboot启动类
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.qiangesoft.blog.*.mapper"})
@ServletComponentScan
@EnableAsync
@Slf4j
public class BlogApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlogApplication.class, args);
        log.debug("BlogApplication start success!");
    }

}
